package com.qm.console.dao.dm;

import com.qm.console.dao.model.AccountRegisterStatistics;
import com.qm.console.dao.model.AccountRegisterStatisticsExample;
import java.util.List;

import com.qm.console.model.UserInfo;
import org.apache.ibatis.annotations.Param;

public interface AccountRegisterStatisticsMapper {

    long countByExample(AccountRegisterStatisticsExample example);

    int deleteByExample(AccountRegisterStatisticsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AccountRegisterStatistics record);

    int insertSelective(AccountRegisterStatistics record);

    List<AccountRegisterStatistics> selectByExample(AccountRegisterStatisticsExample example);

    AccountRegisterStatistics selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AccountRegisterStatistics record, @Param("example") AccountRegisterStatisticsExample example);

    int updateByExample(@Param("record") AccountRegisterStatistics record, @Param("example") AccountRegisterStatisticsExample example);

    int updateByPrimaryKeySelective(AccountRegisterStatistics record);

    int updateByPrimaryKey(AccountRegisterStatistics record);

    int totalCount(@Param("appName") String appName, @Param("appChannel") String appChannel,
              @Param("appVersion") String appVersion, @Param("startTime") String startTime, @Param("endTime") String endTime);

    List<AccountRegisterStatistics> selectAll(@Param("offset") int offset,
                                   @Param("pageSize") int pageSize,
                                   @Param("appName") String appName,
                                   @Param("appChannel") String appChannel,
                                   @Param("appVersion") String appVersion,
                                   @Param("startTime") String startTime,
                                   @Param("endTime") String endTime);
}